﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace LayuiDemo.Models
{
	public class Post : BasePoco
	{

		[Display(Name = "文章标题")] public string Title { get; set; }
		[Display(Name = "文章内容")] public string Content { get; set; }
		[Display(Name = "字数")] public int Count { get; set; }
		[Display(Name = "评分")] public double Rate { get; set; }
		public Guid BlogId { get; set; }
		public Blog Blog { get; set; }
	}
}
